Fix broken Python basics exercise scripts (issue #27)#43
Closed
niall-stack wants to merge 1 commit into
Closed
Conversation
Collaborator
|
Read Contributing.md First you are not supposed to edit any files outside your own solutions folder (which is made by you and named as _solutions replace <github_id> with your actual GITHUB ID Either undo the wrong changes or start a new PR and also please strictly follow the PR format guide. and state your name and details If I dont see changes, I will close the PR. If a mentor is assigned please refer them to guidance. |
Collaborator
|
Closing this issue now, please make proper PR next time, take guidance of mentor. Till then u can practice python by running the tutorial codes locally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\nFixes the broken starter scripts under est_playground/basics/ referenced in #27 so they now match the expected behavior in inline comments.\n\n### Files fixed\n- hello.py: corrected Hello World print syntax\n- input_output.py: added proper type casting, list parsing, f-string interpolation, and compact multiline print\n- �ars_and_ops.py: fixed mixed-type addition, corrected division output/rounding, simplified power logic, corrected bitwise operator labels\n- conditionals.py: fixed age casting/age buckets, completed day match, corrected exception handling\n- loops.py: fixed multiples-of-5 loop, completed zip output formatting, added 3-list zip example, case-insensitive loop condition\n- �oss.py: simplified/fixed expression handling and error reporting in a working loop\n\n## Validation\nManual code review against expected comments in each file.\n\nNote: I could not run these scripts in this environment because a Python runtime is not installed on host (py -3.11 not available).